package com.wuzhipeng.heart.user.service;

import com.wuzhipeng.heart.user.dao.entity.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuzhipeng.heart.user.dto.request.PasswordDTO;
import com.wuzhipeng.heart.user.dto.request.UsersDataDTO;
import com.wuzhipeng.heart.user.dto.request.registerDTO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuzhipeng
 * @since 2024-12-22
 */
public interface IUsersService extends IService<Users> {
    String login(String phone, String password);

    void updateProfile(UsersDataDTO usersDataDTO);

    UsersDataDTO getUserInfo(String token);

    void registerClient(registerDTO registerDTO);

    Users getUserByPhone(String therapistPhone);

    void updatePassword(PasswordDTO passwordDTO);
}
